<?
class Chrome
{
    public $script_location='';
    public $style_location='';

    public function Chrome(){
        $script_location = $this->GetTemplateLocation();
        $style_location = $this->GetTemplateLocation("style/" . $gconfig->style . "/");;
    }

    public function GetLocation($dir=''){
        return $gconfig->location_base . '/' . $dir;
    }

    public function GetTemplateLocation($dir=''){
        return $gconfig->location_base . '/' . $gconfig->template_location . '/' . $dir;
    }
}
?>